<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title>添加危废代码</title>
    <%@include file="/common/header.jspf"%>
    <script type="text/javascript" src="${ctx}/resources/js/environmental/common/dictionaryPaths.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/environmental/common/base.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/environmental/basicInfo/ou/base.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/environmental/basicInfo/ou/edit.js"></script>
    <style>
        .form_one .lable-style {

            width: 80px;
        }
        .form_two .lable-style {

            width: 80px;
        }
    </style>
</head>
<body>
<div class="menu-right" style="width:80px;">
    <a id="btn_save" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg">保存</a>
</div>
<div class="information">

    <form id="submit_form" method="post">
        <div class="information-title">
            <p>基本信息</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <input type="hidden" name="id" value="${ou.id}">
        <div class="cuttle">
            <div>
                <div class="form_one">
                    <label class="lable-style">经营许可证:</label>
                    <input type="text" class="easyui-textbox" name="code" value="${ou.code}" data-options="required:true" style="width: 240px;" title="">
                </div>
                <div class="form_one">
                    <label class="lable-style">单位名称:</label>
                    <input type="text" class="easyui-textbox" name="name" value="${ou.name}" data-options="required:true" style="width: 240px;">

                </div>
                <div class="form_one">
                    <label class="lable-style">单位类型:</label>
                    <input type="text" class="easyui-textbox" name="unitTypeId" value="${ou.unitTypeId}" id="unitTypeId" style="width: 240px;" title="">

                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">经营范围:</label>
                    <input type="text" class="easyui-textbox" name="businessScope" value="${ou.businessScope}" style="width: 240px;" title="">
                </div>
                <div class="form_one">
                    <label class="lable-style">有效开始日期:</label>
                    <input type="text" class="easyui-datebox" name="startDate" value="${ou.startDate}" style="width: 240px;" data-options="editable:false">

                </div>
                <div class="form_one">
                    <label class="lable-style">有效结束日期:</label>
                    <input type="text" class="easyui-datebox" name="endDate" value="${ou.endDate}" style="width: 240px;" title="" data-options="editable:false">

                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">法人:</label>
                    <input type="text" class="easyui-textbox" name="legalPerson" value="${ou.legalPerson}" style="width: 240px;" title="">
                </div>
                <div class="form_one">
                    <label class="lable-style">单位电话:</label>
                    <input type="text" class="easyui-textbox" name="unitPhone" value="${ou.unitPhone}" style="width: 240px;">

                </div>
                <div class="form_one">
                    <label class="lable-style">传真:</label>
                    <input type="text" class="easyui-textbox" name="fax" value="${ou.fax}"  style="width: 240px;" title="">

                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">邮编:</label>
                    <input type="text" class="easyui-textbox" name="zipCode" value="${ou.zipCode}" style="width: 240px;" title="">
                </div>
                <div class="form_one">
                    <label class="lable-style">联系人:</label>
                    <input type="text" class="easyui-textbox" name="contacts" value="${ou.contacts}" style="width: 240px;">

                </div>
                <div class="form_one">
                    <label class="lable-style">联系电话:</label>
                    <input type="text" class="easyui-textbox" name="contactsPhone" value="${ou.contactsPhone}" style="width: 240px;" title="">

                </div>
            </div>


            <div style="clear: both">
                <div class="form_two" style="width: 1100px">
                    <label class="lable-style">地址:</label>
                    <input class="easyui-textbox" data-options="multiline:true" name="address" value="${ou.address}" style="height: 50px;width: 960px;"/>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_two" style="width: 1100px">
                    <label class="lable-style">备注:</label>
                    <input class="easyui-textbox" data-options="multiline:true" name="remarks" value="${ou.remarks}" style="height: 50px;width: 960px;"/>
                </div>
            </div>
        </div>
        <div class="information">
            <div class="information-title">
                <p>相关附件</p>
                <a class="panel-down" href="javascript:void(0)">
                    <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
                </a>
            </div>
            <accessory:accessorySimple permission="write"  packageKey="ou" uploadUserId="${loginUser.id}" packageInfos="${accessoryList}"   accessoryType = "txt,docx,doc,xls,xlsx,jpg,png"></accessory:accessorySimple>
        </div>
    </form>

</div>

</body>
</html>
